import { createApp } from "vue";
import App from "./App.vue";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import './styles.css'
import { createRouter, createWebHashHistory } from "vue-router";
import SettingPage from "./page/SettingPage.vue";
import DebugPage from "./page/DebugPage.vue";


const router = createRouter({
    history: createWebHashHistory(),
    routes: [{
        name: 'Setting',
        path: '/',
        component: SettingPage,
    }, {
        name: 'Debug',
        path: '/debug',
        component: DebugPage,
    }]
});

const app = createApp(App);
app.use(router);
app.use(ElementPlus);
app.mount("#app");
